import { http } from '@/utils/http'
// 获取用户币种资产详情
export const getAssetDetails = ((data) => {
	return http({
		method: 'GET',
		url: '/api/server/userAccount/' + data
	})
})
// 获取用户USDT充值地址
export const getCoinAddress = ((data) => {
	return http({
		method: 'GET',
		url: '/api/server/userAccount/getCoinAddress/' + data
	})
})
// 提现申请
export const withdrawalRequests = ((data) => {
	return http({
		method: 'POST',
		url: '/api/server/userAccount/withdrawApply',
		data
	})
})
// 获取币种的交易明细
export const getCoinDetailList = ((data) => {
	return http({
		method: 'GET',
		url: `/api/server/userAccount/getCoinDetailList`,
		data,
	})
})